/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Musteri;
import com.ronin.model.kriter.MusteriSorguKriteri;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface IMusteriDao {
    
    Musteri getSingle(Musteri musteri);
    
    Musteri getSingleById(Long id);
    
    Musteri getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Musteri> getList(Musteri musteri);
    
    List<Musteri> getListByNamedQuery(String namedQuery,Object... parameters);
    
    List<Musteri> getListCriteriaForPaging(int first, int pageSize,MusteriSorguKriteri sorguKriteri);
    
    int getCountByCriteriaForPaging(MusteriSorguKriteri sorguKriteri);
    
    int getCount(Musteri musteri);

    void add(Musteri musteri);

    void update(Musteri musteri);

    void delete(Musteri musteri);
}
